@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, Arial, sans-serif;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app {
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus {
  outline: none;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

// main-container global css
.app-container {
  padding: 20px;
}

.avatar-uploader .el-upload {
  border: 1px dashed #d9d9d9;
  border-radius: 6px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.avatar-uploader .el-upload:hover {
  border-color: #409EFF;
}
.avatar-uploader-icon {
  font-size: 28px;
  color: #8c939d;
  width: 178px;
  height: 178px;
  line-height: 178px!important;
  text-align: center;
}
.avatar {
  width: 178px;
  height: 178px;
  display: block;
}
.photobox{
  position: relative;
}
.clearbtn{
  position: absolute;
  bottom: 0;
  right: 0;
}
.photolist{
  display: flex;
  justify-content:left;
}
.structureRow{
  .el-tree-node__content{
    height: 50px;
  }
}
.loginregister{
  display: flex;
  justify-content: center;
}
.uploadImgBox{
  border: 1px dashed #DCDFE6;
  border-radius: 4px;
  color: #606266;
  width: 178px;
  height: 178px;
  position: relative;
  .uploadImgBtn{
    position: absolute;
    left: 0;
    width: 100%;
    top: 0;
    height: 100%;
    font-size/*\**/:570px\9;/*IE*/
    filter: alpha(opacity=0);
    opacity: 0;
    cursor: pointer;
    // overflow: hidden;
  }
  .avatar-uploader-icon{
    line-height: 178px!important;
    text-align: center;
    width: 178px;
    height: 178px;
  }
}
.roleCard{
  .el-carousel{
    text-align: center;
    .el-carousel__item{
      box-shadow: 3px 3px 3px rgba($color: #000000, $alpha: .3);
      .carouseltips{
        position: absolute;
        top: 0;
        left: 3px;
        font-size: 12px;
        color: #888;
      }
    }
  }
  .el-carousel__item h3 {
    color: #ddd;
    font-size: 14px;
    opacity: 0.75;
    line-height: 100px;
    margin: 0;
  }
  
  .el-carousel__item:nth-child(2n) {
    background-color: #99a9bf;
  }
  
  .el-carousel__item:nth-child(2n+1) {
    background-color: #d3dce6;
  }
}